package juf;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * Interfaces for the various annotations
 * the user is allowed to use
 * 
 * @author Parul Sharma
 *
 */
public class Annotations {

	
	@Retention(RetentionPolicy.RUNTIME)
	@Target({ElementType.FIELD, ElementType.METHOD})
	public @interface Attributes {
		 boolean setAutoscrolls() default false;
		 boolean setEnabled() default true;
		 boolean setVisible() default true;
		 String setSize() default "0, 0";
		 int setColumns() default 0;
		 String setForeground() default "0, 0, 0"; 
	}

	
	@Retention(RetentionPolicy.RUNTIME)
		@Target({ElementType.FIELD, ElementType.METHOD})
	public @interface Name {
		String value(); 
	}
	
	
	@Retention(RetentionPolicy.RUNTIME)
	@Target({ElementType.FIELD, ElementType.METHOD})
	public @interface Order {
		int value(); 
	}
	
	
	@Retention(RetentionPolicy.RUNTIME)
	@Target({ElementType.FIELD, ElementType.METHOD})
	public @interface CustomAdapter {
		String value(); 
	}
}
